#include "cards\include\Hand.h"

#define CARDS_NUM 5

using namespace core;



int main(int argc, char* argv[])
{
	Card mem[CARDS_NUM];
	char wait[2];

	while (wait != "q")
	{
		Box box(mem, CARDS_NUM);
		box.clear();
		std::cin.clear();

		for (int crd_num = 0; crd_num < CARDS_NUM; crd_num++)
		{
			std::cout << "input card " << crd_num + 1 << ": ";
			box.insert(Card(true));
			std::cout << std::endl;
		}



		std::cout << "\n\nBox output: " << box << std::endl;

		std::cout << "\n------------------------------------------------\n\nBoxPower: "
			<< box.power() << std::endl;


		std::cin.getline(wait, 2);
	}

	return 0;
}